package cn.itsource._01_bath.mapper;

import cn.itsource._01_bath.domain.Product;

import java.util.List;

public interface ProductMapper {
    List<Product> findAll();

    void insert(List<Product> products);

    void del(List<Long> id);
}
package cn.itsource.many2one.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Department {
  private long id;
  private String name;
	
	1231233
}

package cn.itsource.many2one.domain;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor

public class Department {
  private long id;
  private String name;
	
	1231233
}
